static double sphere(double d) {
            double r = d / 2;
            return (4.0 / 3) * Math.PI * Math.pow(r, 3);
    }
sphere(20.24)